MailerLite\Includes\Shared\Api\PlatformAPI A

Total Complexity 60
Dependencies 3
Dependents 18
Total lines 875
Lines of code 187
Logical lines of code 70
Comment lines 508
Methods 55
Properties 2

Methods 55

Method Rating Maintainability Complexity Lines of code
__construct()
S
59 4 16
getApiType()
S
65 3 10
syncOrder()
S
77 1 3
deleteOrder()
S
79 1 3
updateOrder()
S
78 1 3
syncProduct()
S
74 1 4
replaceProductCategories()
S
79 1 3
importProducts()
S
79 1 3
deleteProduct()
S
79 1 3
syncCategory()
S
79 1 3
importCategories()
S
79 1 3
deleteCategory()
S
79 1 3
syncCustomer()
S
78 1 3
deleteCustomer()
S
79 1 3
updateCustomer()
S
78 1 3
fetchCustomer()
S
79 1 3
updateCart()
S
78 1 3
addCartItem()
S
79 1 3
replaceCartItems()
S
79 1 3
getCartItems()
S
79 1 3
getAccountDetails()
S
81 1 3
deleteCartItem()
S
79 1 3
batch()
S
80 1 3
getResponseBody()
S
81 1 3
responseCode()
S
81 1 3
isValidClassicKey()
S
79 1 3
importCustomers()
S
79 1 3
fetchOrder()
S
79 1 3
importOrders()
S
79 1 3
updateField()
S
79 1 3
validateKey()
S
81 1 3
updateSubscriber()
S
79 1 3
updateSubscriberStatus()
S
79 1 3
searchSubscriber()
S
80 1 3
getGroups()
S
80 1 3
checkMoreGroups()
S
79 1 3
getMoreGroups()
S
79 1 3
getDoubleOptin()
S
81 1 3
setDoubleOptin()
S
80 1 3
getFields()
S
80 1 3
createField()
S
79 1 3
syncCustomerWooCommerce()
S
78 1 3
deleteShop()
S
80 1 3
setConsumerData()
S
73 1 4
sendSubscriberData()
S
79 1 3
saveOrder()
S
79 1 3
sendOrderProcessing()
S
79 1 3
sendCart()
S
79 1 3
toggleShop()
S
78 1 3
getShopSettings()
S
80 1 3
validateAccount()
S
81 1 3
getShops()
S
81 1 3
getShop()
S
80 1 3
createShop()
S
77 1 3
createGroup()
S
80 1 3